/**index.scss**/
page {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.scrollarea {
  flex: 1;
  overflow-y: hidden;
}

.box1 {
  display: flex;
  align-items: center;
  font-size: 48rpx;
  font-weight: 450;
  height: 150rpx;
  border-radius: 40rpx;
  width: 580rpx;
}

.arrow {
  &::before {
    content: "";
    border-right: 15rpx solid transparent;
    border-bottom: 15rpx solid transparent;
    border-top: 15rpx solid transparent;
    position: absolute;
    top: -15rpx;
    right: -11rpx;
  }

  width: 0;
  height: 0;
  border-left: 15rpx solid black;
  border-right: 15rpx solid transparent;
  border-bottom: 15rpx solid transparent;
  border-top: 15rpx solid transparent;
  position: relative;
}

.brown-box {
  @extend .box1;
  background-color: #f1e5c6;
  color: #0b041d;
  text-align: right;
  justify-content: flex-end;

  .arrow {
    @extend .arrow;
    margin-right: 10rpx;
  }

  .arrow::before {
    border-left: 15rpx solid #efe5c9;
  }
}

.blue-box {
  @extend .box1;
  background-color: #5a84bb;
  color: #fefeff;
  text-align: left;

  .label {
    margin-left: 20rpx;
  }

  .arrow {
    @extend .arrow;
    border-left: 15rpx solid #fefeff;
  }

  .arrow::before {
    border-left: 15rpx solid #6383b7;
  }
}